package overall.message.room
{
	import flash.utils.ByteArray;
	
	import xnet.Message.ISokcetMessage;
	import xnet.Message.MessageBase;

	public class ExitMsg extends MessageBase
	{
		public function ExitMsg()
		{
			super();
		}
		
		public var token:String;
		
		override public function decodeSocketData(byteArray:ByteArray):ISokcetMessage
		{
			type = byteArray.readByte();
			token=byteArray.readUTF();
			return this;
		}
	}
}